home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / MacMud / Mud 4.0 / lang.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-24  |  5.0 KB  |  222 lines  |  [TEXT/????]

  1. #define F_JUMP 257
  2. #define F_JUMP_WHEN_ZERO 258
  3. #define F_JUMP_WHEN_NON_ZERO 259
  4. #define F_POP_VALUE 260
  5. #define F_DUP 261
  6. #define F_STORE 262
  7. #define F_CALL_FUNCTION_BY_ADDRESS 263
  8. #define F_PUSH_IDENTIFIER_LVALUE 264
  9. #define F_PUSH_LOCAL_VARIABLE_LVALUE 265
  10. #define F_PUSH_INDEXED_LVALUE 266
  11. #define F_INDIRECT 267
  12. #define F_INDEX 268
  13. #define F_CONST0 269
  14. #define F_CONST1 270
  15. #define F_IF 271
  16. #define F_IDENTIFIER 272
  17. #define F_LAND 273
  18. #define F_LOR 274
  19. #define F_STATUS 275
  20. #define F_RETURN 276
  21. #define F_STRING 277
  22. #define F_INC 278
  23. #define F_DEC 279
  24. #define F_POST_INC 280
  25. #define F_POST_DEC 281
  26. #define F_COMMA 282
  27. #define F_NUMBER 283
  28. #define F_ASSIGN 284
  29. #define F_INT 285
  30. #define F_ADD 286
  31. #define F_SUBTRACT 287
  32. #define F_MULTIPLY 288
  33. #define F_DIVIDE 289
  34. #define F_LT 290
  35. #define F_GT 291
  36. #define F_EQ 292
  37. #define F_GE 293
  38. #define F_LE 294
  39. #define F_NE 295
  40. #define F_ADD_EQ 296
  41. #define F_SUB_EQ 297
  42. #define F_DIV_EQ 298
  43. #define F_MULT_EQ 299
  44. #define F_NEGATE 300
  45. #define F_SUBSCRIPT 301
  46. #define F_WHILE 302
  47. #define F_BREAK 303
  48. #define F_DO 304
  49. #define F_FOR 305
  50. #define F_SWITCH 306
  51. #define F_SSCANF 307
  52. #define F_PARSE_COMMAND 308
  53. #define F_STRING_DECL 309
  54. #define F_LOCAL_NAME 310
  55. #define F_ELSE 311
  56. #define F_DESCRIBE 312
  57. #define F_CONTINUE 313
  58. #define F_MOD 314
  59. #define F_MOD_EQ 315
  60. #define F_INHERIT 316
  61. #define F_COLON_COLON 317
  62. #define F_STATIC 318
  63. #define F_ARROW 319
  64. #define F_AGGREGATE 320
  65. #define F_M_AGGREGATE 321
  66. #define F_COMPL 322
  67. #define F_AND 323
  68. #define F_AND_EQ 324
  69. #define F_OR 325
  70. #define F_OR_EQ 326
  71. #define F_XOR 327
  72. #define F_XOR_EQ 328
  73. #define F_LSH 329
  74. #define F_LSH_EQ 330
  75. #define F_RSH 331
  76. #define F_RSH_EQ 332
  77. #define F_CATCH 333
  78. #define F_OBJECT 334
  79. #define F_VOID 335
  80. #define F_MIXED 336
  81. #define F_PRIVATE 337
  82. #define F_NO_MASK 338
  83. #define F_NOT 339
  84. #define F_MAPPING 340
  85. #define F_PROTECTED 341
  86. #define F_PUBLIC 342
  87. #define F_VARARGS 343
  88. #define F_ADD_ACTION 344
  89. #define F_ADD_VERB 345
  90. #define F_ADD_WORTH 346
  91. #define F_ADD_XVERB 347
  92. #define F_ALL_INVENTORY 348
  93. #define F_ALLOCATE 349
  94. #define F_BREAK_POINT 350
  95. #define F_CALL_OTHER 351
  96. #define F_CALL_OUT 352
  97. #define F_CALL_OUT_INFO 353
  98. #define F_CAPITALIZE 354
  99. #define F_CAT 355
  100. #define F_CINDENT 356
  101. #define F_CLEAR_BIT 357
  102. #define F_CLONE_OBJECT 358
  103. #define F_COMMAND 359
  104. #define F_CREATE_WIZARD 360
  105. #define F_CREATOR 361
  106. #define F_CRYPT 362
  107. #define F_CTIME 363
  108. #define F_DEBUG_INFO 364
  109. #define F_DEEP_INVENTORY 365
  110. #define F_DESTRUCT 366
  111. #define F_DISABLE_COMMANDS 367
  112. #define F_ED 368
  113. #define F_ENABLE_COMMANDS 369
  114. #define F_ENVIRONMENT 370
  115. #define F_EXEC 371
  116. #define F_EXPLODE 372
  117. #define F_EXTRACT 373
  118. #define F_FILE_NAME 374
  119. #define F_FILE_SIZE 375
  120. #define F_FILTER_ARRAY 376
  121. #define F_FILTER_MAPPING 377
  122. #define F_FIND_CALL_OUT 378
  123. #define F_FIND_LIVING 379
  124. #define F_FIND_OBJECT 380
  125. #define F_FIND_PLAYER 381
  126. #define F_FIRST_INVENTORY 382
  127. #define F_FUNCTION_EXISTS 383
  128. #define F_GET_DIR 384
  129. #define F_IMPLODE 385
  130. #define F_INHERIT_LIST 386
  131. #define F_INPUT_TO 387
  132. #define F_INTERACTIVE 388
  133. #define F_INTP 389
  134. #define F_LIVING 390
  135. #define F_LOCALCMD 391
  136. #define F_LOG_FILE 392
  137. #define F_LOWER_CASE 393
  138. #define F_M_DELETE 394
  139. #define F_M_INDICES 395
  140. #define F_M_SIZEOF 396
  141. #define F_M_VALUES 397
  142. #define F_MAP_ARRAY 398
  143. #define F_MAP_MAPPING 399
  144. #define F_MAPPINGP 400
  145. #define F_MASTER_OBJECT 401
  146. #define F_MEMBER_ARRAY 402
  147. #define F_MKDIR 403
  148. #define F_MKMAPPING 404
  149. #define F_MOVE_OBJECT 405
  150. #define F_NEXT_INVENTORY 406
  151. #define F_NOTIFY_FAIL 407
  152. #define F_OBJECTP 408
  153. #define F_POINTERP 409
  154. #define F_PRESENT 410
  155. #define F_PREVIOUS_OBJECT 411
  156. #define F_PRINTF 412
  157. #define F_PROCESS_STRING 413
  158. #define F_QUERY_HEART_BEAT 414
  159. #define F_QUERY_HOST_NAME 415
  160. #define F_QUERY_IDLE 416
  161. #define F_QUERY_IP_NAME 417
  162. #define F_QUERY_IP_NUMBER 418
  163. #define F_QUERY_LOAD_AVERAGE 419
  164. #define F_QUERY_SNOOP 420
  165. #define F_QUERY_VERB 421
  166. #define F_RANDOM 422
  167. #define F_READ_BYTES 423
  168. #define F_READ_FILE 424
  169. #define F_REGEXP 425
  170. #define F_REMOVE_CALL_OUT 426
  171. #define F_RESTORE_OBJECT 427
  172. #define F_RM 428
  173. #define F_RMDIR 429
  174. #define F_SAVE_OBJECT 430
  175. #define F_SAY 431
  176. #define F_SET_BIT 432
  177. #define F_SET_HEART_BEAT 433
  178. #define F_SET_LIGHT 434
  179. #define F_SET_LIVING_NAME 435
  180. #define F_SHADOW 436
  181. #define F_SHOUT 437
  182. #define F_SHUTDOWN 438
  183. #define F_SIZEOF 439
  184. #define F_SNOOP 440
  185. #define F_SORT_ARRAY 441
  186. #define F_SPRINTF 442
  187. #define F_STRINGP 443
  188. #define F_STRLEN 444
  189. #define F_SWAP 445
  190. #define F_TAIL 446
  191. #define F_TELL_OBJECT 447
  192. #define F_TELL_ROOM 448
  193. #define F_TEST_BIT 449
  194. #define F_THIS_INTERACTIVE 450
  195. #define F_THIS_OBJECT 451
  196. #define F_THIS_PLAYER 452
  197. #define F_THROW 453
  198. #define F_TIME 454
  199. #define F_TRACE 455
  200. #define F_TRACEPREFIX 456
  201. #define F_TRANSFER 457
  202. #define F_UNIQUE_ARRAY 458
  203. #define F_USERS 459
  204. #define F_VERSION 460
  205. #define F_WIZLIST 461
  206. #define F_WRITE 462
  207. #define F_WRITE_BYTES 463
  208. #define F_WRITE_FILE 464
  209. #define F_CASE 465
  210. #define F_DEFAULT 466
  211. #define F_RANGE 467
  212. typedef union
  213. {
  214.     int number;
  215.     unsigned int address;    /* Address of an instruction */
  216.     char *string;
  217.     short type;
  218.     struct { int key; char block; } case_label;
  219.     struct function *funp;
  220. } YYSTYPE;
  221. extern YYSTYPE yylval;
  222.